

@model ConferenceRegister.Models.LoginModel

@{
    ViewBag.Title = "Login";
}

<h1>Log <Span>In</Span></h1>

@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")

@using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
            <div class="editor-field">
                @Html.EditorFor(m => m.UserName)
            </div>
            <div class="editor-field">
                @Html.EditorFor(m => m.Password)
            </div>

            <div class="editor-label">
                @Html.EditorFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
            </div>
            <div>
                <input type="submit" value="Login" />  @*<span style="margin-left: 6px;">@Html.ActionLink("Register", "Register", "ClientKey")</span>*@
            </div>
}

